package com.gpl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电机对象 machine
 * 
 * @author luna
 * @date 2023-05-24
 */
public class Machine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电机id */
    private Long mid;

    /** 电机名称 */
    @Excel(name = "电机名称")
    private String mname;

    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setMname(String mname) 
    {
        this.mname = mname;
    }

    public String getMname() 
    {
        return mname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mid", getMid())
            .append("mname", getMname())
            .toString();
    }
}
